package main
import (
	"fmt"
)
func main() {
	var gender string 
	var grade float64
	fmt.Println("man or wowen?")
	fmt.Scanln(&gender)
	fmt.Println("input your grade")
	fmt.Scanln(&grade)
	if grade <= 8.0 {
		if "man" == gender {
			fmt.Println("恭喜，您以进入男子组决赛")
		} else if "women" == gender {
			fmt.Println("恭喜，您以进入女子组决赛")
		} else {
			fmt.Println("输入的性别错误")
		}
	}else {
		fmt.Println("抱歉，您未进入决赛")
	}
}